﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PosClient.Delegates
{
    /// <summary>
    /// 数值变动委托
    /// </summary>
    /// <param name="sender">数值</param>
    /// <param name="e"></param>
    public delegate void RowValueEventHandler(object sender, EventArgs e); // 委托定义  
    /// <summary>
    /// 点击委托
    /// </summary>
    /// <param name="sender">点击控件</param>
    /// <param name="e"></param>
    public delegate void RowClickEventHandler(object sender, EventArgs e); // 委托定义  
    /// <summary>
    /// 索引委托
    /// </summary>
    /// <param name="sender">索引数值</param>
    /// <param name="e"></param>
    public delegate void RowIndexEventHandler(object sender, EventArgs e); // 委托定义  
    /// <summary>
    /// 小键盘点击委托
    /// </summary>
    /// <param name="sender">点击的键名</param>
    /// <param name="e"></param>
    public delegate void KeyboardEventHandler(object sender, EventArgs e); // 委托定义  
    /// <summary>
    /// grid数据更新
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    public delegate void GridDataEventHandler(object sender, EventArgs e); // 委托定义  
    /// <summary>
    /// grid索引变动
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    public delegate void GridIndexEventHandler(object sender, EventArgs e);
    /// <summary>
    /// 确认支付事件
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    public delegate void ConfirmPayEventHandler(object sender, EventArgs e);
    /// <summary>
    /// Row关闭事件
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    public delegate void RowDisposeEventHandler(object sender, EventArgs e);


    public class MyDelegate
    {
    }
}
